﻿using ProTrack.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProTrack.IServices.Device
{
    public interface IMachineryStatus
    {
        public Task<IEnumerable<MachineryStatus>> GetAllAsync();

        public Task<IEnumerable<MachineryStatus>> GetAsync(int PageIndex, int PageSize,  string StatusName);

        public Task<int> GetCountAsync(string Statusname);


        public Task<bool> UpdateAsync(MachineryStatus model);
        public Task<bool> AddAsync(MachineryStatus model);
        public Task<bool> DeleteAsync(int[] Ids);
        public Task<bool> DeleteAsync(int Id);
    }
}
